package com.lsl.legcommune.ui;

import java.util.zip.Inflater;

import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public class MyCommuneGridAdapter extends BaseAdapter {
	
	private Activity activityContext;
	
	public MyCommuneGridAdapter(Activity activityContext){
		this.activityContext = activityContext;
	}
	
	@Override
	public int getCount() {		
		return 10;
	}

	@Override
	public Object getItem(int arg0) {
		return null;
	}

	@Override
	public long getItemId(int position) {
		return 0;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		View v = activityContext.getLayoutInflater().from(activityContext).inflate(R.layout.mycommune_griditem,null);
		
		return v;
	}

}
